package com.example.Announcement.mapper;

import com.example.Announcement.domain.Announcement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AnnouncementMapper {
    void delAnnouncementById(String id);

    List<Announcement> selectAnnouncement(Announcement announcement);

    void insertAnnouncement(Announcement announcement);

    void updateAnnouncementById(Announcement announcement);
}
